//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.comm.api.vo;

import org.hibernate.validator.constraints.Length;

public class ColumnEntityExtend extends ColumnEntity {
    @Length(
            max = 10,
            message = "lableZh{comm.maxlength}"
    )
    private String lableZh;
    @Length(
            max = 10,
            message = "lableEn{comm.maxlength}"
    )
    private String lableEn;
    @Length(
            max = 10,
            message = "lableJp{comm.maxlength}"
    )
    private String lableJp;
    private boolean shows = false;
    @Length(
            max = 32,
            message = "rules{comm.maxlength}"
    )
    private String rules;
    @Length(
            max = 32,
            message = "mainId{comm.maxlength}"
    )
    private String mainId;

    public ColumnEntityExtend() {
    }

    public String getLableZh() {
        return this.lableZh;
    }

    public String getLableEn() {
        return this.lableEn;
    }

    public String getLableJp() {
        return this.lableJp;
    }

    public boolean isShows() {
        return this.shows;
    }

    public String getRules() {
        return this.rules;
    }

    public String getMainId() {
        return this.mainId;
    }

    public void setLableZh(final String lableZh) {
        this.lableZh = lableZh;
    }

    public void setLableEn(final String lableEn) {
        this.lableEn = lableEn;
    }

    public void setLableJp(final String lableJp) {
        this.lableJp = lableJp;
    }

    public void setShows(final boolean shows) {
        this.shows = shows;
    }

    public void setRules(final String rules) {
        this.rules = rules;
    }

    public void setMainId(final String mainId) {
        this.mainId = mainId;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ColumnEntityExtend)) {
            return false;
        } else {
            ColumnEntityExtend other = (ColumnEntityExtend) o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label75:
                {
                    Object this$lableZh = this.getLableZh();
                    Object other$lableZh = other.getLableZh();
                    if (this$lableZh == null) {
                        if (other$lableZh == null) {
                            break label75;
                        }
                    } else if (this$lableZh.equals(other$lableZh)) {
                        break label75;
                    }

                    return false;
                }

                Object this$lableEn = this.getLableEn();
                Object other$lableEn = other.getLableEn();
                if (this$lableEn == null) {
                    if (other$lableEn != null) {
                        return false;
                    }
                } else if (!this$lableEn.equals(other$lableEn)) {
                    return false;
                }

                Object this$lableJp = this.getLableJp();
                Object other$lableJp = other.getLableJp();
                if (this$lableJp == null) {
                    if (other$lableJp != null) {
                        return false;
                    }
                } else if (!this$lableJp.equals(other$lableJp)) {
                    return false;
                }

                if (this.isShows() != other.isShows()) {
                    return false;
                } else {
                    Object this$rules = this.getRules();
                    Object other$rules = other.getRules();
                    if (this$rules == null) {
                        if (other$rules != null) {
                            return false;
                        }
                    } else if (!this$rules.equals(other$rules)) {
                        return false;
                    }

                    Object this$mainId = this.getMainId();
                    Object other$mainId = other.getMainId();
                    if (this$mainId == null) {
                        if (other$mainId != null) {
                            return false;
                        }
                    } else if (!this$mainId.equals(other$mainId)) {
                        return false;
                    }

                    return true;
                }
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ColumnEntityExtend;
    }


    public String toString() {
        return "ColumnEntityExtend(lableZh=" + this.getLableZh() + ", lableEn=" + this.getLableEn() + ", lableJp=" + this.getLableJp() + ", shows=" + this.isShows() + ", rules=" + this.getRules() + ", mainId=" + this.getMainId() + ")";
    }
}
